﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MediaGarden.Variations;
using MediaGarden.Models;

namespace MediaGarden.Images
{
    public class Variations : IVariantsProvider
    {

        public IEnumerable<IVariant> GetVariants()
        {
            return new[]{

                new Variant<PixelDimensionsPart>("ImageSize", 
                    (p)=>p.SizeX,
                    (p)=>p.SizeY)
                    .AlsoVaried<MediaPart>()

            };
        }
    }
}